//
//  TimingPattern.m
//  Portable Traffic Signal Assistor
//
//  Created by Hao Xu on 4/13/12.
//  Copyright (c) 2012 TTU. All rights reserved.
//

#import "TimingPattern.h"

@implementation TimingPattern

@synthesize timingPatternID=_timingPatternID;
@synthesize timingPatternName=_timingPatternName;
//@synthesize signalIDList=_signalIDList;
@synthesize timeRangeList=_timeRangeList;
@synthesize cycleLength=_cycleLength;
@synthesize parentAgencyID=_parentAgencyID;
@synthesize parentSubSystemID=_parentSubSystemID;

- (id) initWithParents:(NSString *)agencyID subSystemID:(NSString *) subSystemID
{
    self=[super init];
    if (self) {
        self.parentAgencyID=agencyID;
        self.parentSubSystemID=subSystemID;
    }
    return self;
 
}

- (void) dealloc
{
    [_timingPatternID release];
    [_timingPatternName release];
//    [_signalIDList release];
//    [_timeRangeList release];
    [_cycleLength release];
    [_parentAgencyID release];
    [_parentSubSystemID release];
    [super dealloc];
}

@end
